\section{Source/File.h}


\begin{footnotesize}\begin{alltt}
00001 \textcolor{preprocessor}{#ifndef FILE\_HEADER}
00002 \textcolor{preprocessor}{}\textcolor{preprocessor}{#define FILE\_HEADER}
00003 \textcolor{preprocessor}{}
00004 \textcolor{preprocessor}{#include <stdio.h>}
00005 \textcolor{preprocessor}{#include <stdlib.h>}
00006 \textcolor{preprocessor}{#include <string.h>}
00007 \textcolor{preprocessor}{#include <sys/types.h>}
00008 \textcolor{preprocessor}{#include <sys/stat.h>}
00009 \textcolor{preprocessor}{#include <unistd.h>}
00010 \textcolor{preprocessor}{#include <stdint.h>}
00011 
00012 \textcolor{preprocessor}{#define boolean uint8\_t}
00013 \textcolor{preprocessor}{}\textcolor{preprocessor}{#define True (1)}
00014 \textcolor{preprocessor}{}\textcolor{preprocessor}{#define False (0)}
00015 \textcolor{preprocessor}{}
00016 \textcolor{preprocessor}{#define DeleteFile(File) (unlink(File))}
00017 \textcolor{preprocessor}{}
00018 \textcolor{keywordtype}{boolean} FileExists(\textcolor{keywordtype}{char} *Filename);
00019 \textcolor{keywordtype}{boolean} DirectoryExists(\textcolor{keywordtype}{char} *DirectoryName);
00020 \textcolor{keywordtype}{int} FileModifiedTime(\textcolor{keywordtype}{char} *Filename);
00021 \textcolor{keywordtype}{int} FileSize(\textcolor{keywordtype}{char} *Filename);
00022 \textcolor{keywordtype}{int} GetEntireFile(\textcolor{keywordtype}{char} *Filename, \textcolor{keywordtype}{char} *Buffer);
00023 \textcolor{keywordtype}{int} SetEntireFile(\textcolor{keywordtype}{char} *Filename, \textcolor{keywordtype}{char} *Data, \textcolor{keywordtype}{int} Size);
00024 
00025 \textcolor{preprocessor}{#endif }\textcolor{comment}{/* FILE\_HEADER */}
\end{alltt}\end{footnotesize}
